<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver MPU9250: example/driver_mpu9250_dmp.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver MPU9250
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">MPU9250 full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__mpu9250__dmp_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_mpu9250_dmp.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__mpu9250__dmp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_MPU9250_DMP_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_MPU9250_DMP_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__mpu9250__interface_8h.html">driver_mpu9250_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga8f4f8e678889fd3e8f7a95bc34c69fc9">   54</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_CLOCK_SOURCE                   MPU9250_CLOCK_SOURCE_PLL                  </span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga97cfcd6b1f9cecd2c7ee3c49d8a84bb7">   55</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_RATE                           50                                        </span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gad56eb24c9e6ab9dc3132a8544ee30481">   56</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_ACCELEROMETER_RANGE            MPU9250_ACCELEROMETER_RANGE_2G            </span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gaf82312a43343d8b54b843c21b0816409">   57</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_GYROSCOPE_RANGE                MPU9250_GYROSCOPE_RANGE_2000DPS           </span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gae7088b5c46c4b47372ebf7324c440102">   58</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_LOW_PASS_FILTER                MPU9250_LOW_PASS_FILTER_3                 </span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga0cff912f261fbc735ce3d1e545c1ee66">   59</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_CYCLE_WAKE_UP                  MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gabbfe360e8bc66057b31954be2b54644f">   60</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_PIN_LEVEL            MPU9250_PIN_LEVEL_LOW                     </span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga191c51cadf47a5d1b7239f8cbb0e8cd6">   61</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_PIN_TYPE             MPU9250_PIN_TYPE_PUSH_PULL                </span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga7961c22618237850eee0c5f662f01571">   62</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_MOTION               MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gac45ce55bd530b9aa8b650ebda577900f">   63</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_FIFO_OVERFLOW        MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga75563f798589992ca48df0fa22f642b0">   64</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_DMP                  MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gacf743928f32edfbb544034a4f9529c7a">   65</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_FSYNC_INT            MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga3f2af4350a9331e3a9f3e608c13e20cc">   66</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_DATA_READY           MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga1c7f8d3ebcab926ef90a6e456aee4783">   67</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_LATCH                MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gaa081ce8680c234a5da448d0987879934">   68</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_READ_CLEAR           MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga029ecb6bfc6ca3c53df8f8903d83a6b0">   69</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_EXTERN_SYNC                    MPU9250_EXTERN_SYNC_INPUT_DISABLED        </span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga70205183eb24a82676a7dfa817b4d041">   70</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_FSYNC_INTERRUPT                MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga3fcec5a9dd269f4077532d5840289886">   71</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_FSYNC_INTERRUPT_LEVEL          MPU9250_PIN_LEVEL_LOW                     </span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga2e57d8f05d9d09c7ebbb790230f3c3e4">   72</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_MASTER                     MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga08c3533ae3071e230db10f297ce81794">   73</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_BYPASS                     MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga59eb050f414bb020e8f79d52b6724afd">   74</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_PEOMETER_WALK_TIME             200                                       </span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga1f4df3cbcab7e61f19aa40454a86901a">   75</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_PEOMETER_STEP_COUNT            0                                         </span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga580a94f65867ae3ff7798e02bb00c55c">   76</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_SHAKE_REJECT_TIMEOUT           10                                        </span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga3742ad0bcb734d627142e26e0ea0cf7b">   77</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_SHAKE_REJECT_TIME              40                                        </span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga4ee015e5a8c2d91bedc921c8967ba1cd">   78</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_SHAKE_REJECT_THRESH            200                                       </span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga912e1593042964c15abf5aeecf09ebfc">   79</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_TAP_TIME_MULTI                 200                                       </span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gab1a7ea99ecf1457026e9b29dd182e2fe">   80</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_TAP_TIME                       100                                       </span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga97f1833113872da37c6650862028a977">   81</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_MIN_TAP_COUNT                  1                                         </span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gab5c61b14873d665849ea8457ecf91e8d">   82</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_TAP_X_THRESH                   250                                       </span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga9d379158a4f48f12dde139bc40f280be">   83</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_TAP_Y_THRESH                   250                                       </span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga06c361ce0fccdbe4503f0788f9b8edbc">   84</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_TAP_Z_THRESH                   250                                       </span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gad15dcebbcba7b5c0a7e34bcc832a1a93">   85</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_INTERRUPT_MODE                 MPU9250_DMP_INTERRUPT_MODE_CONTINUOUS     </span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gac05f9046bf33046f3968fde34dbfc10d">   86</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_MOTION_THRESHOLD               200                                       </span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gafdf1ea18c96b7c4b2cc22d5fca5814fe">   87</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_GYROSCOPE_STANDBY              MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gabfd08db6d08bdeab4313e23c0517041f">   88</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_FIFO_MODE                      MPU9250_FIFO_MODE_NORMAL                  </span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga150d755d9d1e04774a70370def1f51dc">   89</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_GYROSCOPE_CHOICE               0                                         </span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gafa9c8abaea97cac6872f943a8d70b4a8">   90</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_ACCELEROMETER_CHOICE           0                                         </span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gab2648c54d84590ed0d49d5ab2655552e">   91</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_ACCELEROMETER_LOW_PASS_FILTER  MPU9250_ACCELEROMETER_LOW_PASS_FILTER_3   </span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga9ebabd16e23d670f86a7b4075e7d9ba1">   92</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_LOW_POWER_ACCEL_OUTPUT_RATE    MPU9250_LOW_POWER_ACCEL_OUTPUT_RATE_62P50 </span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gab0d49b0ae1d5bb28ea88e52f404e6ef3">   93</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_ACCELEROMETER_COMPARE          MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gae19c0f776f60f513b71185f558442f4e">   94</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_MAGNETOMETER_MODE              MPU9250_MAGNETOMETER_MODE_CONTINUOUS2     </span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gaf41d27c0a98dbfd0f77382daf700d8d2">   95</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_MAGNETOMETER_BITS              MPU9250_MAGNETOMETER_BITS_16              </span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gaccc3978c2ad9460f0cdef24b5b6e5971">   96</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_CLOCK                      MPU9250_IIC_CLOCK_400_KHZ                 </span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gad3eaa8f3219430eb1a5df0e5f1713a9b">   97</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_MULTI_MASTER               MPU9250_BOOL_TRUE                         </span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gad4819c7f73a0f1e386f4d7a8f01555b8">   98</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_WAIT_FOR_EXTERNAL_SENSOR   MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#ga4fbee2937bb68ef3c4a6dccdf1711fcc">   99</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_READ_MODE                  MPU9250_IIC_READ_MODE_RESTART             </span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__mpu9250__example__driver.html#gaa2bd54bed795b6f93182be6255ea79fa">  100</a></span>&#160;<span class="preprocessor">#define MPU9250_DMP_DEFAULT_IIC_DELAY                      MPU9250_BOOL_FALSE                        </span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;uint8_t <a class="code" href="group__mpu9250__example__driver.html#ga0a6e3c022348ff534e8c232f9eef2fcc">mpu9250_dmp_irq_handler</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;uint8_t <a class="code" href="group__mpu9250__example__driver.html#ga13aacdcbb67e01d92dd6a8ccc77dbae5">mpu9250_dmp_init</a>(<a class="code" href="group__mpu9250__basic__driver.html#ga7d9cf66109326149ba40c8bee86e12c6">mpu9250_interface_t</a> interface, <a class="code" href="group__mpu9250__basic__driver.html#ga51224d8bd81cd18f40f52a6b0d44bc85">mpu9250_address_t</a> addr_pin,</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                         <span class="keywordtype">void</span> (*receive_callback)(uint8_t type),</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                         <span class="keywordtype">void</span> (*tap_callback)(uint8_t count, uint8_t direction),</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                         <span class="keywordtype">void</span> (*orient_callback)(uint8_t orientation)</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                        );</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;uint8_t <a class="code" href="group__mpu9250__example__driver.html#ga0cd1f6cf82d93735044b40d43a714a06">mpu9250_dmp_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;uint8_t <a class="code" href="group__mpu9250__example__driver.html#gaaf40501da341c82d50a2d1c06810cf2b">mpu9250_dmp_read_all</a>(int16_t (*accel_raw)[3], <span class="keywordtype">float</span> (*accel_g)[3],</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;                             int16_t (*gyro_raw)[3], <span class="keywordtype">float</span> (*gyro_dps)[3],</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;                             int32_t (*quat)[4],</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;                             <span class="keywordtype">float</span> *pitch, <span class="keywordtype">float</span> *roll, <span class="keywordtype">float</span> *yaw,</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                             uint16_t *l</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                            );</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;uint8_t <a class="code" href="group__mpu9250__example__driver.html#ga7c3c3fe0f188fbd118415cac774da322">mpu9250_dmp_get_pedometer_counter</a>(uint32_t *cnt);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;}</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="adriver__mpu9250__interface_8h_html"><div class="ttname"><a href="driver__mpu9250__interface_8h.html">driver_mpu9250_interface.h</a></div><div class="ttdoc">driver mpu9250 interface header file</div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_ga51224d8bd81cd18f40f52a6b0d44bc85"><div class="ttname"><a href="group__mpu9250__basic__driver.html#ga51224d8bd81cd18f40f52a6b0d44bc85">mpu9250_address_t</a></div><div class="ttdeci">mpu9250_address_t</div><div class="ttdoc">mpu9250 address enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00071">driver_mpu9250.h:72</a></div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_ga7d9cf66109326149ba40c8bee86e12c6"><div class="ttname"><a href="group__mpu9250__basic__driver.html#ga7d9cf66109326149ba40c8bee86e12c6">mpu9250_interface_t</a></div><div class="ttdeci">mpu9250_interface_t</div><div class="ttdoc">mpu9250 interface enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00062">driver_mpu9250.h:63</a></div></div>
<div class="ttc" id="agroup__mpu9250__example__driver_html_ga0a6e3c022348ff534e8c232f9eef2fcc"><div class="ttname"><a href="group__mpu9250__example__driver.html#ga0a6e3c022348ff534e8c232f9eef2fcc">mpu9250_dmp_irq_handler</a></div><div class="ttdeci">uint8_t mpu9250_dmp_irq_handler(void)</div><div class="ttdoc">dmp irq</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__dmp_8c_source.html#l00048">driver_mpu9250_dmp.c:48</a></div></div>
<div class="ttc" id="agroup__mpu9250__example__driver_html_ga0cd1f6cf82d93735044b40d43a714a06"><div class="ttname"><a href="group__mpu9250__example__driver.html#ga0cd1f6cf82d93735044b40d43a714a06">mpu9250_dmp_deinit</a></div><div class="ttdeci">uint8_t mpu9250_dmp_deinit(void)</div><div class="ttdoc">dmp example deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__dmp_8c_source.html#l01017">driver_mpu9250_dmp.c:1017</a></div></div>
<div class="ttc" id="agroup__mpu9250__example__driver_html_ga13aacdcbb67e01d92dd6a8ccc77dbae5"><div class="ttname"><a href="group__mpu9250__example__driver.html#ga13aacdcbb67e01d92dd6a8ccc77dbae5">mpu9250_dmp_init</a></div><div class="ttdeci">uint8_t mpu9250_dmp_init(mpu9250_interface_t interface, mpu9250_address_t addr_pin, void(*receive_callback)(uint8_t type), void(*tap_callback)(uint8_t count, uint8_t direction), void(*orient_callback)(uint8_t orientation))</div><div class="ttdoc">dmp example init</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__dmp_8c_source.html#l00072">driver_mpu9250_dmp.c:72</a></div></div>
<div class="ttc" id="agroup__mpu9250__example__driver_html_ga7c3c3fe0f188fbd118415cac774da322"><div class="ttname"><a href="group__mpu9250__example__driver.html#ga7c3c3fe0f188fbd118415cac774da322">mpu9250_dmp_get_pedometer_counter</a></div><div class="ttdeci">uint8_t mpu9250_dmp_get_pedometer_counter(uint32_t *cnt)</div><div class="ttdoc">dmp example get pedometer counter</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__dmp_8c_source.html#l00964">driver_mpu9250_dmp.c:964</a></div></div>
<div class="ttc" id="agroup__mpu9250__example__driver_html_gaaf40501da341c82d50a2d1c06810cf2b"><div class="ttname"><a href="group__mpu9250__example__driver.html#gaaf40501da341c82d50a2d1c06810cf2b">mpu9250_dmp_read_all</a></div><div class="ttdeci">uint8_t mpu9250_dmp_read_all(int16_t(*accel_raw)[3], float(*accel_g)[3], int16_t(*gyro_raw)[3], float(*gyro_dps)[3], int32_t(*quat)[4], float *pitch, float *roll, float *yaw, uint16_t *l)</div><div class="ttdoc">dmp example read</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__dmp_8c_source.html#l00991">driver_mpu9250_dmp.c:991</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li><li class="navelem"><a class="el" href="driver__mpu9250__dmp_8h.html">driver_mpu9250_dmp.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
